#include<stdio.h>
#include<string.h>
int main()
{
	char a[100];
	printf("please enter your command\n\
commands:save open quit\n");
	scanf("%s",a);
	while(strcmp(a,"quit"))
	{
		if(!strcmp(a,"save"))
		{
			printf("saved!\n");
		}
		else if(!strcmp(a,"open"))
		{
			printf("opened!\n");
		}
		else
			printf("Input Error!\n");
		scanf("%s",a);
	}
	printf("exiting...\n");
	return 0;
}
